package com.siyu.tickets.dao;

import java.util.Date;

import com.siyu.common.hibernate3.Updater;
import com.siyu.common.page.Pagination;
import com.siyu.tickets.entity.Order;

public interface OrderDao {

	public Pagination getPage(String name, Date beginTime, Date endTime, Boolean valid, int pageNo, int pageSize);

	public Order findById(Integer id);

	public Order save(Order bean);

	public Order updateByUpdater(Updater<Order> updater);

	public Order deleteById(Integer id);

}
